package com.page.demo.service;

import com.page.demo.pojo.Car;
import com.page.demo.pojo.ov.CarAndBrand;

import java.util.List;

public interface CarService {
    List<Car> queryAll();

    List<Car> queryByPriceAsc();

    List<Car> queryByPriceDesc();

    List<CarAndBrand> searchBrandCar(String brand);
}
